import React, { Suspense } from 'react';
import './App.css';
import { useRoutes } from 'react-router-dom'
import routers from './router/router'
function App() {

  return (
    <div className="App">
      <Suspense fallback={<div>loading...</div>}>
        {useRoutes(routers)}
      </Suspense>
    </div>
  )
}

export default App;
